Skip to content

Add an opt-in Settings launcher shortcut - #1095

Open
noire342 wants to merge 1 commit into
JingMatrix:masterfrom
noire342:codex/vector-settings-shortcut
Open

noire342 wants to merge 1 commit into
JingMatrix:masterfrom
noire342:codex/vector-settings-shortcut

Conversation

@noire342

@noire342 noire342 commented Nov 15, 2026 •

Copy link
Copy Markdown

Summary

Add an opt-in Vector entry to the Android Settings icon's long-press menu. Enable Settings launcher shortcut in System status, then open Android Settings to apply it.

The shortcut is published by the registered Settings process for Android user 0. It reuses the manager launch intent and modifies only Vector's shortcut ID. Turning the option off disables any pinned copies of that ID when Settings is next opened. The status notification preference is independent.

The new manager IPC methods use protocol 4, so use the manager APK from the same build when testing a standalone installation.

Validation

  • Local JVM test of the publisher with Android API stand-ins passed. It covered process and user checks, application binding, the locked-user case, repeated opens, a missing daemon response, targeted removal, and retry after publication refusal.
  • Built the debug module ZIP on commit 9dbae5cf with ./gradlew :zygisk:zipDebug and verified archive integrity.
  • Device checks pending. Verify publication and launch on supported launchers, coexistence with other Settings shortcuts, removal after reopening Settings, and behavior after a daemon restart.

Let the registered primary-user Settings process reconcile a Vector-owned shortcut when it opens. Keep publication separate from the saved preference and preserve existing launch routes.
@noire342
noire342 marked this pull request as ready for review November 15, 2026 22:59
Copilot AI balanced review requested due to automatic review settings November 15, 2026 22:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants